home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************
- * *
- * The SB-Prolog System *
- * Copyright SUNY at Stony Brook, 1986; University of Arizona, 1987 *
- * *
- ************************************************************************/
-
- /*-----------------------------------------------------------------
- SB-Prolog is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY. No author or distributor
- accepts responsibility to anyone for the consequences of using it
- or for whether it serves any particular purpose or works at all,
- unless he says so in writing. Refer to the SB-Prolog General Public
- License for full details.
-
- Everyone is granted permission to copy, modify and redistribute
- SB-Prolog, but only under the conditions described in the
- SB-Prolog General Public License. A copy of this license is
- supposed to have been given to you along with SB-Prolog so you
- can know your rights and responsibilities. It should be in a
- file named COPYING. Among other things, the copyright notice
- and this notice must be preserved on all copies.
- ------------------------------------------------------------------ */
- /* This is the file of operators for read/1 and read/2. It really
- belongs in the file $read.P, but is here so that the assembler won't
- optimize away the indirect linkages to it. This allows op
- declarations to be handled correctly. -- S. Debray, Dec 22, 1987. */
-
- $read_curr_op(1200,xfx,(':-')).
- $read_curr_op(1200,xfx,('-->')).
- $read_curr_op(1200,fx,(':-')).
- $read_curr_op(1198,xfx,('::-')).
- $read_curr_op(1100,xfy,';').
- $read_curr_op(1050,xfy,'->').
- $read_curr_op(1000,xfy,',').
- $read_curr_op(900,fy,not).
- $read_curr_op(900,fy,'\+').
- $read_curr_op(900,fy,spy).
- $read_curr_op(900,fy,nospy).
- $read_curr_op(1150,fy,(mode)).
- $read_curr_op(1150,fy,(public)).
- $read_curr_op(1150,fy,(dynamic)).
- $read_curr_op(700,xfx,'=').
- $read_curr_op(700,xfx,is).
- $read_curr_op(700,xfx,'=..').
- $read_curr_op(700,xfx,'?=').
- $read_curr_op(700,xfx,'\=').
- $read_curr_op(700,xfx,'==').
- $read_curr_op(700,xfx,'\==').
- $read_curr_op(700,xfx,'@<').
- $read_curr_op(700,xfx,'@>').
- $read_curr_op(700,xfx,'@=<').
- $read_curr_op(700,xfx,'@>=').
- $read_curr_op(700,xfx,'=:=').
- $read_curr_op(700,xfx,'=\=').
- $read_curr_op(700,xfx,'<').
- $read_curr_op(700,xfx,'>').
- $read_curr_op(700,xfx,'=<').
- $read_curr_op(700,xfx,'>=').
- $read_curr_op(661,xfy,'.'). /* !! */
- $read_curr_op(500,yfx,'+').
- $read_curr_op(500,yfx,'-').
- $read_curr_op(500,yfx,'/\').
- $read_curr_op(500,yfx,'\/').
- $read_curr_op(500,fx,'+').
- $read_curr_op(500,fx,'-').
- $read_curr_op(500,fx,'\').
- $read_curr_op(400,yfx,'*').
- $read_curr_op(400,yfx,'/').
- $read_curr_op(400,yfx,'//').
- $read_curr_op(400,yfx,'<<').
- $read_curr_op(400,yfx,'>>').
- $read_curr_op(300,xfx,mod).
- $read_curr_op(200,xfy,'^').
-